package com.atguigu.yygh.hosp.client;

import com.atguigu.yygh.vo.hosp.ScheduleOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @param :1.8
 * @author :又菜又爱玩的→速趴塞亚锦←
 * @description:
 * @create :____________________________被调用接口
 */
@FeignClient(value = "service-hosp")
public interface ScheduleFeignCleint {
    @GetMapping("/user/hosp/schedule/{scheduleId}")
    public ScheduleOrderVo getScheduleById(@PathVariable(value = "scheduleId") String scheduleId);

}
